﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Music Player For Html5</title>
    <meta name="viewport" content="width=400, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">

    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <link rel="stylesheet" type="text/css" href="/css/demo.css">
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script>
    <style>
        .content {
            width: 370px;
            margin: 50px auto;
        }

        #txt_url {
            width: 370px;
            height: 370px;
            color: #999;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
            background: rgba(255, 255, 255, 0.14);
            resize: none;
            border: #fff solid 1px;
        }

        h2 {
            color: #999;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
        }

        #btn_sumbit {
            float: right;
            background: none;
            border: none;
            font-size: 32px;
            color: #999;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="content">
        <h2>复制虾米播放器的地址到下面</h2>
        <textarea id="txt_url">http://www.xiami.com/song/play?ids=/song/playlist/id/1770989764%2C1770259512%2C1770059653%2C1769889949%2C1771779379%2C1769913573%2C1772074681%2C1769087909%2C1769776059%2C1769969332%2C1770051791%2C1770490096%2C1769816558%2C3667210%2C1769960820%2C1770848556%2C1770809790%2C1771178170%2C1772222496%2C1771019682%2C1225084%2C1770087878%2C1769636303%2C1770594433%2C1769765172/object_name/default/object_id/0</textarea>
        <br />
        <input type="button" id="btn_sumbit" value="Open" />
        <script type="text/javascript">
            $(document).ready(function () {
                $('#btn_sumbit').click(function () {
                    var pageurl = '/player?url=' + encodeURI($('#txt_url').val());
                    window.location.href = pageurl;
                });
            });
        </script>
    </div>
</body>
</html>

